home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / modules.lha / modules / gadgets / slider.m < prev    next >
Encoding:
Text File  |  2002-01-13  |  1.5 KB  |  43 lines

  1. /*****************************************************************************/
  2. /*****************************************************************************/
  3. /* Additional attributes defined by the slider.gadget class
  4.  */
  5. #define SLIDER_Dummy      (REACTION_Dummy+$0028000)
  6. #define SLIDER_Min        (SLIDER_Dummy+1)
  7. /* (WORD) . */
  8. #define SLIDER_Max        (SLIDER_Dummy+2)
  9. /* (WORD) . */
  10. #define SLIDER_Level      (SLIDER_Dummy+3)
  11. /* (WORD) . */
  12. #define SLIDER_Orientation    (SLIDER_Dummy+4)
  13. /* (WORD) . */
  14. #define SLIDER_DispHook       (SLIDER_Dummy+5)
  15. /* (struct Hook *) . */
  16. #define SLIDER_Ticks      (SLIDER_Dummy+6)
  17. /* (LONG) . */
  18. #define SLIDER_ShortTicks     (SLIDER_Dummy+7)
  19. /* (BOOL) . */
  20. #define SLIDER_TickSize       (SLIDER_Dummy+8)
  21. /* (WORD) . */
  22. #define SLIDER_KnobImage    (SLIDER_Dummy+9)
  23. /* (struct Image *) . */
  24. #define SLIDER_BodyFill       (SLIDER_Dummy+10)
  25. /* (WORD) . */
  26. #define SLIDER_BodyImage    (SLIDER_Dummy+11)
  27. /* (struct Image *) . */
  28. #define SLIDER_Gradient       (SLIDER_Dummy+12)
  29. /* (BOOL) Gradient slider modem, defaults to false. */
  30. #define SLIDER_PenArray       (SLIDER_Dummy+13)
  31. /* (UWORD *) Pens for gradient slider. */
  32. #define SLIDER_Invert       (SLIDER_Dummy+14)
  33. /* (BOOL) Flip Min/Max positions. Defaults to false. */
  34. #define SLIDER_KnobDelta    (SLIDER_Dummy+15)
  35. /* (WORD) . */
  36. /*****************************************************************************/
  37. /* SLIDER_Orientation Modes
  38.  */
  39. #define SORIENT_HORIZ  FREEHORIZ
  40. #define SORIENT_VERT  FREEVERT
  41. #define SLIDER_HORIZONTAL  SORIENT_HORIZ
  42. #define SLIDER_VERTICAL   SORIENT_VERT
  43.